package top.mccat.common.core.domain.bk;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.mccat.common.annotation.Excel;
import top.mccat.common.core.domain.BaseEntity;

/**
 * 销售商品连接表对象 bk_product_sale
 * 
 * @author Raven
 * @date 2023-01-11
 */
public class BkProductSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 销售记录id */
    @Excel(name = "销售记录id")
    private Integer saleId;

    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setSaleId(Integer saleId) 
    {
        this.saleId = saleId;
    }

    public Integer getSaleId() 
    {
        return saleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("saleId", getSaleId())
            .toString();
    }
}
